package org.jeecg.modules.vital.vo;

import java.util.List;
import org.jeecg.modules.vital.entity.InpatientRecords;
import org.jeecg.modules.vital.entity.HospitalizationCourse;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 住院记录
 * @Author: jeecg-boot
 * @Date:   2023-01-04
 * @Version: V1.0
 */
@Data
@ApiModel(value="inpatient_recordsPage对象", description="住院记录")
public class InpatientRecordsPage {

	/**文档流水号*/
	@ApiModelProperty(value = "文档流水号")
    private String id;
	/**文档机器生成时间*/
	@Excel(name = "文档机器生成时间", width = 15)
	@ApiModelProperty(value = "文档机器生成时间")
    private String effectivetime;
	/**健康卡号*/
	@Excel(name = "健康卡号", width = 15)
	@ApiModelProperty(value = "健康卡号")
    private String healthCardId;
	/**住院号*/
	@Excel(name = "住院号", width = 15)
	@ApiModelProperty(value = "住院号")
    private String ipid;
	/**病案号标识*/
	@Excel(name = "病案号标识", width = 15)
	@ApiModelProperty(value = "病案号标识")
    private String caseId;
	/**现住址*/
	@Excel(name = "现住址", width = 15)
	@ApiModelProperty(value = "现住址")
    private String currentAddr;
	/**患者身份证号标识*/
	@Excel(name = "患者身份证号标识", width = 15)
	@ApiModelProperty(value = "患者身份证号标识")
    private String pid;
	/**出生地*/
	@Excel(name = "出生地", width = 15)
	@ApiModelProperty(value = "出生地")
    private String pidBirthplace;
	/**国籍*/
	@Excel(name = "国籍", width = 15)
	@ApiModelProperty(value = "国籍")
    private String nationality;
	/**工作单位*/
	@Excel(name = "工作单位", width = 15)
	@ApiModelProperty(value = "工作单位")
    private String employerorganization;
	/**户口信息*/
	@Excel(name = "户口信息", width = 15)
	@ApiModelProperty(value = "户口信息")
    private String household;
	/**工作地址*/
	@Excel(name = "工作地址", width = 15)
	@ApiModelProperty(value = "工作地址")
    private String workAddr;
	/**患者性别*/
	@Excel(name = "患者性别", width = 15, dicCode = "sex")
    @Dict(dicCode = "sex")
	@ApiModelProperty(value = "患者性别")
    private String administrategendercode;
	/**患者年龄*/
	@Excel(name = "患者年龄", width = 15)
	@ApiModelProperty(value = "患者年龄")
    private Integer patientAge;
	/**籍贯信息*/
	@Excel(name = "籍贯信息", width = 15)
	@ApiModelProperty(value = "籍贯信息")
    private String nativeplace;
	/**职业状况*/
	@Excel(name = "职业状况", width = 15)
	@ApiModelProperty(value = "职业状况")
    private String occupation;
	/**住院机构名称*/
	@Excel(name = "住院机构名称", width = 15)
	@ApiModelProperty(value = "住院机构名称")
    private String hospitalName;
	/**机构标识号*/
	@Excel(name = "机构标识号", width = 15)
	@ApiModelProperty(value = "机构标识号")
    private String institutionalId;
	/**文档作者*/
	@Excel(name = "文档作者", width = 15)
	@ApiModelProperty(value = "文档作者")
    private String author;
	/**保管机构*/
	@Excel(name = "保管机构", width = 15)
	@ApiModelProperty(value = "保管机构")
    private String custodianName;

	@ExcelCollection(name="住院病程记录")
	@ApiModelProperty(value = "住院病程记录")
	private List<HospitalizationCourse> hospitalizationCourseList;

}
